<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl">
	<xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd" />
	<xsl:include href="zamijeni-me-php" />
	<xsl:include href="lib/webMeni.xsl" />
	<xsl:include href="lib/jqueries.xsl" />
	<xsl:include href="lib/widgets.xsl" />
	<xsl:param name="sys_page"></xsl:param>
	<xsl:param name="sys_action"></xsl:param>
	<xsl:param name="app_field"></xsl:param>
	<xsl:template match="/">
		<html>
			<head>
				<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
				<title>++ <xsl:value-of select="form/variables/APPLICATION_TITLE" /> ++</title>
				<link href="xslt/eStil.css" rel="stylesheet" type="text/css">
					<xsl:attribute name="href">
            <xsl:value-of select="form/variables/sys_CSS_STYLE" />
          </xsl:attribute>
				</link>
				<link type="text/css" href="jquery-ui.css" rel="Stylesheet" />
				<script type="text/javascript" src="jquery.js"></script>
				<script type="text/javascript" src="jquery.ui.datetimepicker.js"></script>
				<script type="text/javascript" src="jquery-ui.js"></script>
				<script type="text/javascript" src="jq_lib.js"></script>
				<script type="text/javascript" src="aim.js"></script>
				<script src="i18n/jquery.ui.datepicker-hr.js"></script>
				<xsl:apply-templates select="/form/jqueries" />
				<script type="text/javascript">
<![CDATA[
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-8912866-6']);
  _gaq.push(['_setDomainName', 'phpbee.vlexofree.com']);
  _gaq.push(['_setAllowHash', 'false']);
  _gaq.push(['_setAllowLinker', true]);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
]]>
				</script>
			</head>
			<body>
				<div id="top">
					<table width="100%" border="0" cellpadding="5">
						<tr>
							<td width="25%" height="45">
								<table width="100%" border="0" cellpadding="2"
									cellspacing="0" class="eRed">
									<tr>
										<td width="14%">time:</td>
										<td width="86%" id="sda"><xsl:value-of select="//app_TIME" /></td>
									</tr>
									<tr>
										<td>user:</td>
										<td id="dte"><xsl:value-of select="//app_USERNAME" /></td>
									</tr>
								</table>
							</td>
							<td width="48%"><div align="center" class="naslov"><xsl:value-of select="/form/variables/app_HEADLINE" /></div></td>
							<td width="27%">
								<div style="float: right"><a href="index.php?sys_page=logOut"><img style="border-style:none" src="/xslt/img/close.png" alt="odjava" width="40" height="38" /></a></div>
								<div style="float: right; margin-top: 10px; margin-right: 5px"><a href="index.php?sys_page=logOut">logout</a></div>
							</td>
						</tr>
					</table>
				</div>
				<div id="midi">
					<div id="left">
						<xsl:call-template name="webMeni"><xsl:with-param name="parent">0</xsl:with-param></xsl:call-template>
						<div id="status" class="{/form/variables/sys_msg_style}"><xsl:value-of select="form/variables/sys_msg" /></div>
						<div style="float:left;clear:left;width:180px" id="bee_progress_bar">&nbsp;</div>
						<div id="mymsgs"><xsl:if test="form/variables/sys_generate_XML = 1">+++ XML saving on!!! +++</xsl:if>&nbsp;<xsl:value-of select="form/variables/sys_DEBUG_INFO" /></div>
					</div>
					<div id="main">
						<xsl:call-template name="zamijeni-me-php" />
						<xsl:if test="/form/variables/app_back != ''"><a href="index.php?sys_stateID={/form/variables/app_back}&amp;sys_page={/form/variables/app_back_page}">back</a></xsl:if>
						<xsl:if test="/form/variables/__frm_back != ''">
							<br /><button onclick="location.href='index.php?__form={/form/variables/__frm_back}'">&lt;&lt; Back</button>
						</xsl:if>
					</div>
				</div>
				<div id="bottom">
					<div class="version">
						<table cellpadding="0" cellspacing="0">
							<tr><td>frm_ver:</td><td><xsl:value-of select="form/variables/sys_frm_version" /></td></tr>
							<tr><td><xsl:value-of select="form/variables/sys_php_last_time" /></td><td><xsl:value-of select="form/variables/sys_frm_last_time" /></td></tr>
						</table>
					</div>
					<div class="bit">bee v2.1 powered by <a href="mailto:damir.zelenika@gmail.com">dy</a> 2011</div>
				</div>
				<div style="float: left; clear: left">Hosting provided by <a href="http://vlexofree.com">VlexoFree Hosting</a></div>
				<xsl:for-each select="form/widgets[helper]"><xsl:value-of select="helper/id" />, </xsl:for-each>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>